package cn.tedu.bonfire.admin.content.pojo.dto;

import java.io.Serializable;

    public class TagUpdateNameByIdParam implements Serializable {
        private Long id;
        private String tagName;

        public TagUpdateNameByIdParam() {
        }

        public Long getId() {
            return this.id;
        }

        public String getTagName() {
            return this.tagName;
        }

        public void setId(final Long id) {
            this.id = id;
        }

        public void setTagName(final String tagName) {
            this.tagName = tagName;
        }

        public boolean equals(final Object o) {
            if (o == this) {
                return true;
            } else if (!(o instanceof TagUpdateNameByIdParam)) {
                return false;
            } else {
                TagUpdateNameByIdParam other = (TagUpdateNameByIdParam) o;
                if (!other.canEqual(this)) {
                    return false;
                } else {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id != null) {
                            return false;
                        }
                    } else if (!this$id.equals(other$id)) {
                        return false;
                    }

                    Object this$tagName = this.getTagName();
                    Object other$tagName = other.getTagName();
                    if (this$tagName == null) {
                        if (other$tagName != null) {
                            return false;
                        }
                    } else if (!this$tagName.equals(other$tagName)) {
                        return false;
                    }

                    return true;
                }
            }
        }

        protected boolean canEqual(final Object other) {
            return other instanceof TagUpdateNameByIdParam;
        }

        public int hashCode() {
            boolean PRIME = true;
            int result = 1;
            Object $id = this.getId();
            result = result * 59 + ($id == null ? 43 : $id.hashCode());
            Object $tagName = this.getTagName();
            result = result * 59 + ($tagName == null ? 43 : $tagName.hashCode());
            return result;
        }

        public String toString() {
            return "TagUpdateNameByIdParam(id=" + this.getId() + ", tagName=" + this.getTagName() + ")";
        }
    }
